import request from '@/utils/request'

// 查询活动列表
export function listDistribution(params) {
  return request({
    url: '/admin/api/distribution/list',
    method: 'get',
    params
  })
}

// 查询活动详细
export function submitDistribution(data) {
  return request({
    url: '/admin/api/distribution/submitDistribution',
    method: 'post',
    data
  })
}

// 模拟月度市场补贴
export function computeSubsidy(data) {
  return request({
    url: '/admin/api/distribution/computeSubsidy',
    method: 'post',
    data
  })
}
